<?php

include("header.php");

$id=$_GET['id'];
//$whei = "select `wid`={$id} from zuopin where `title`";

$arr = selec($config,"zuopin","where wid={$id}");

?>

<?php
    foreach ($arr as $k => $v) {
        echo'<a href="yuedu.php?id='.$v['id'].'"><h4>'.$v['title'].'</h4></a>';
        echo'<span style="margin:left;">'.$v['author'].'</span>';
        echo'<span>'.date('Y-m-d H:i:s',$v['ctime']).'</span>';
        echo'<br/><br/>';
        
    }

?> 



<?php
include("footer.php");
?>